package com.d.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "system")
public class SystemConfig {
    //上传路径
    private String uploadPath;
    private String ossDir;

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public String getOssDir() {
        return ossDir;
    }

    public void setOssDir(String ossDir) {
        this.ossDir = ossDir;
    }

}

